package com.tang4j.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tang4j.core.model.AbstractModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author saber
 * @since 2019-11-29
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "ThSysNavigationRoleInfo", description = "用户角色表")
public class ThSysNavigationRoleInfo extends AbstractModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单ID")
    @TableField("navigation_id")
    private String navigationId;

    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private String roleId;

    @ApiModelProperty(value = "菜单名称")
    @TableField(exist = false)
    private String navigationName;

    @ApiModelProperty(value = "角色名称")
    @TableField(exist = false)
    private String roleName;

    @ApiModelProperty(value = "角色编号")
    @TableField(exist = false)
    private String roleCode;

    @ApiModelProperty(value = "排序")
    @TableField(exist = false)
    private String orderNo;


    @ApiModelProperty(value = "角色描述")
    @TableField(exist = false)
    private String roleDescription;

    public ThSysNavigationRoleInfo(String roleId, String navigationId) {
        this.roleId = roleId;
        this.navigationId = navigationId;
    }


}
